// 公共配置项
import commonConfig from '../../../common-config';
// 模版
import template1 from './template1';

// 数据配置
const datas = {
	preview_color: {
		title: "背景",
		type: "bg",
		value: {
			isColor: '1',
			color: "#ffffff",
			image: ""
		}
	},
	show_list: {
		title: "板块显示",
		type: "memberCheckbox",
		from: 'all',
		value: [
			{label: "余额", value: "balance"},
			{label: "积分", value: "integral_v2"},
			{label: "提现", value: "extension"},
		],
		urls: [],
	},

	extension_radio: {
		title: '提现金额显示',
		type: 'radio',
		value: '1',
		showBy: 'show_list',
		showKey: 'extension',
		options: [
			{label: '累计收入', value: '1'},
			{label: '未提现金额', value: '2'}, 
		]
	},
};

// 样式配置
const styles = {};

export const config = commonConfig.merge({
	datas,
	styles,
	layout: [
		template1
	]
});
